<script setup lang="ts">
import { useElementPlusGlobal } from './hooks/element-plus'
import { provide } from 'vue'

const { size, setSize, zIndex, locale, button, message } = useElementPlusGlobal()
/**
 * App Provide
 */
provide('app_size', { size, setSize })
</script>

<template>
  <ElConfigProvider
    :size="size"
    :z-index="zIndex"
    :locale="locale"
    :button="button"
    :message="message"
  >
    <RouterView />
  </ElConfigProvider>
</template>

<style scoped lang="scss"></style>
./services/access
